From: Florian Müllner Date: Mon, 12 Feb 2024 13:13:07 +0000 (+0100) Subject: tools/toolbox: Expose --reconfigure meson flag X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~190 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a27ba309ddbcf03482901056136619da16f060cf;p=gnome-shell.git tools/toolbox: Expose --reconfigure meson flag It turns out that nowadays meson updates don't always require a full wipe of an existing build dir, but `--reconfigure` is often enough. So let's expose that flag as well. Part-of: --- diff --git a/tools/toolbox/meson-build.sh b/tools/toolbox/meson-build.sh index a8d79f1fd..32ff10643 100755 --- a/tools/toolbox/meson-build.sh +++ b/tools/toolbox/meson-build.sh @@ -16,6 +16,7 @@ usage() { -Dkey=val Option to pass to meson setup --dist Run meson dist + --reconfigure Reconfigure the project --wipe Wipe build directory and reconfigure -h, --help Display this help @@ -50,6 +51,7 @@ TEMP=$(getopt \ --options 't:D:h' \ --longoptions 'toolbox:' \ --longoptions 'dist' \ + --longoptions 'reconfigure' \ --longoptions 'wipe' \ --longoptions 'help' \ -- "$@") || die "Run $(basename $0) --help to see available options" @@ -71,6 +73,11 @@ while true; do shift ;; + --reconfigure) + RECONFIGURE=--reconfigure + shift + ;; + --wipe) WIPE=--wipe shift